﻿<%@ Page Language="C#" AutoEventWireup="true"  MaintainScrollPositionOnPostback="true" StylesheetTheme="Default" CodeFile="Default.aspx.cs"
    Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    
	<link type="text/css" href='style/articles.css' rel="stylesheet" media="all" />
		<link type="text/css" href="style/style.css" rel="stylesheet" />
		<link type="text/css" href="style.css" rel="stylesheet" />
		<script type="text/javascript" src="core.js"></script>
		<script type="text/javascript" src="Scripts/jquery-1.2.6.js"></script>
		<script type="text/javascript" src="Scripts/common.js"></script>
</head>
<body>
    
    <form id="form1" runat="server">
    
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <div>
            <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
            </asp:Menu>
            <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
            <h3>שלום שלום בעברית
            <br />
            <br />
            
            Hello world&nbsp;<br /></h3>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Button ID="btnInsideUpdatePanel" runat="server" Text="Button inside UpdatePanel"
                        OnClick="btnInsideUpdatePanel_Click" />
                    <asp:Label runat="server" ID="lbl"></asp:Label>
                </ContentTemplate>
            </asp:UpdatePanel>
            <br />
            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <asp:Button ID="btnRedirectInsideUpdatePanel" runat="server" Text="Redirect from inside UpdatePanel"
                        OnClick="btnRedirectInsideUpdatePanel_Click" />
                    <asp:Label runat="server" ID="Label1"></asp:Label>
                </ContentTemplate>
            </asp:UpdatePanel>
            <br />
            <asp:Button ID="btnNormalPagePostBack" runat="server" Text="Do Normal Page postback" OnClick="btnNormalPage_Click" />
            <br />
            <asp:Button ID="btnNormalPageExcel" runat="server" Text="Do export to Excel" OnClick="btnNormalPageExcel_Click" />
            <br />
            <asp:Button ID="btnTransfer" runat="server" Text="Do Server.Transfer" OnClick="btnTransfer_Click" />
            <br />
            <asp:Button ID="btnRedirect" runat="server" Text="Do Response.Redirect" OnClick="btnRedirect_Click" />
            <br />
            <asp:Button ID="btnNormalPageEnd" runat="server" Text="Do Normal Page postback with Response.End()" OnClick="btnNormalPageEnd_Click" />
            <br />
            <asp:Button ID="btnExcelEnd" runat="server" Text="Do export to Excel with Response.End()" OnClick="btnExcelEnd_Click" />
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                Text="Thow exception" />
            <br />
        </div>
        
        <div id="myContent">
			<h1>Alternative content</h1>
			<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
		</div>
        <%--This will be compresses even if the page is excluded, or automode set to false--%>
Textbox with required validator: <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" EnableClientScript="true" ControlToValidate="TextBox1" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>    
        <script type="text/javascript" src="Scripts/test.js"></script>
     

    </form>
    
</body>
</html>
